#pragma once

#include "D3dUtils.hpp"

class Mesh;

class MeshAccumulator
{
public:
	MeshAccumulator();
	~MeshAccumulator();
	void Clear();
	void ConvertToMesh(Mesh &dst);

	void AddQuad(const common::VEC3 &point1, const common::VEC3 &vec1, const common::VEC3 &vec2, const common::RECTF &texCoords);

private:
	std::vector<VERTEX_XN2> m_Vertices;
	std::vector<uint> m_Indices;
};
